<template>
  <div class="box-count">
    <div
      class="count-item flex-1"
      v-for="(item, index) in countObj"
      :key="index"
    >
      <div class="count-title">{{item.title}}</div>
      <div class="count-num">{{item.num}}</div>
    </div>
  </div>
</template>
<script>
export default {
  props: ["countObj"],
};
</script>


<style lang="less" scoped>
@import url("../styles/main.less");
.box-count {
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 15px ;
  .count-title {
    font-size: 14px;
    color: #1ac9ff;
  }
  .count-num {
    color: #fff;
    font-size: 18px;
  }
}
</style>